package com.itmuch.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication
/**
 * @EnableDiscoveryClient 和 @EnableEurekaClient 都可以
 * @EnableDiscoveryClient ：支持其他的组件
 * @EnableEurekaClient ： 专属的Eureka Client 
 */
@EnableEurekaClient
public class MicroserviceSimpleProviderUserApplication {

  public static void main(String[] args) {
    SpringApplication.run(MicroserviceSimpleProviderUserApplication.class, args);
  }
}
